package com.xs.designpattern;

/**
 * @author xs
 */
public class CoinFactory {
    public static Coin getCoin(CoinType type) {
        return type.getConstructor().get();
    }
}
